import Grade from './grade.vue'
import gradeAdd from './gradeAdd.vue'
import gradeSearch from './gradeSearch.vue'
import gradeView from './gradeView.vue'
import gradeAddMajor from './gradeAddMajors.vue'

const components = [
    Grade,
    gradeAdd,
    gradeSearch,
    gradeView,
    gradeAddMajor
]

const main = {
    install(Vue) {
        components.map((component) => {
            Vue.component(component.name, component)
        })
    }
}

export default main